#ifndef PAGELOGIN_H
#define PAGELOGIN_H

#include <QWidget>
#include <QTimer>
#include "globalconfig.h"
#include "numberkeyboard.h"

namespace Ui {
class PageLogin;
}

class PageLogin : public QWidget
{
    Q_OBJECT

public:
    explicit PageLogin(QWidget *parent = nullptr);
    ~PageLogin();
signals:
    void loginOk();
private slots:
    void slotNumber(int i);
    void slotClear();
    void slotOK();
    void slotbakspace();
private:
    Ui::PageLogin *ui;
private:
    NumberKeyBoard *m_pNumKeyBoard=nullptr;
    bool m_xErrorTimerBusy = false;
};

#endif // PAGELOGIN_H
